import { get, post } from '../http'

//用户登录
export const userLogin = (data) => {
  return post({}, '/login', data)
}

//刷新用户信息
export const refreshUserInfo = (data) => {
  return post({}, '/getUserInfo', data)
}